Meaning of the word "burn not your house to fright away the mice" in English

What does "burn not your house to fright away the mice" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

burn not your house to fright away the mice

US /bɜrn nɑt jɔr haʊs tu fraɪt əˈweɪ ðə maɪs/
UK /bɜːn nɒt jɔː haʊs tuː fraɪt əˈweɪ ðə maɪs/
"burn not your house to fright away the mice" picture

Idiom

do not use excessive or self-destructive measures to solve a minor problem

Example:
Quitting your job just because of one annoying coworker is like burning not your house to fright away the mice.
Using a sledgehammer to crack a nut is a classic case of burning not your house to fright away the mice.